package com.sdy.dataexchange.meta.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author wyy
 * @since 2019-11-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class MetadataJob extends BaseModel {
    private static final long serialVersionUID = 1L;

    /**
     * 元数据任务ID
     */
    @TableId
    private Integer id;

    /**
     * 元数据任务名称
     */
    private String mjobName;

    /**
     * 元数据任务模型分类
     */
    private Integer mjobType;

    /**
     * 任务创建时间
     */
    @JsonFormat(pattern = DATETIME_FORMAT)
    private Date creationTime;

    /**
     * 任务监控频率
     */
    private String mjobMf;

    private Integer mjobMftype;

    /**
     * 任务开始时间
     */
    @JsonFormat(pattern = DATETIME_FORMAT)
    private Date startTime;

    /**
     * 任务备注
     */
    private String mjobRemarks;

}
